﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace edu.Model
{
    /// <summary>
    /// 留言板头
    /// 客人给主人留言
    /// </summary>
    [Serializable]
    public class MessageBoardHead : Item
    {
        /// <summary>
        /// 提问人 （家长对应的用户ID）
        /// </summary>
        public virtual int FromUserId { get; set; }

        /// <summary>
        /// 老师对应的用户ID
        /// </summary>
        public virtual int ToUserId { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        public virtual string Title { get; set; }

        /// <summary>
        /// 消息
        /// </summary>
        public virtual string Meaasge { get; set; }

        /// <summary>
        /// 是否私有
        /// </summary>
        public virtual bool Private { get; set; }

        /// <summary>
        /// 留言板回复
        /// </summary>
        public virtual IList<MessageBoardItem> MessageBoardItems { get; set; }
    }
}
                                                                                